package edu.sctu.zcy.month201505.day20150525;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * Created by user24 on 2015/5/25.
 */
public class BRRead {

    public static void main(String[] args) throws IOException{

        char c;
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));

        System.out.println("字符是：");

        do {
            c = (char) bufferedReader.read();
            System.out.println(c);
        }while (c != 'p');
    }
}
